if (window.location.href.indexOf('dingapps.cn') > -1) {
    eruda.init()
} else {
    if (window.localStorage.getItem('openEruda')) eruda.init()
}
!(function (t) {
    let angent = navigator.userAgent
    console.log('%c' + angent, 'color: green; font-size: 12px;')
    function e() {
        var e = this || self
        ;(e.globalThis = e), delete t.prototype._T_
    }
    'object' != typeof globalThis &&
        (this
            ? e()
            : (t.defineProperty(t.prototype, '_T_', {
                  configurable: !0,
                  get: e,
              }),
              _T_))
    if (typeof EventTarget !== 'undefined') {
        let func = EventTarget.prototype.addEventListener
        EventTarget.prototype.addEventListener = function (type, fn, capture) {
            this.func = func
            if (typeof capture !== 'boolean') {
                capture = capture || {}
                capture.passive = false
            }
            this.func(type, fn, capture)
        }
    }
})(Object)
